package com.genesis.mall.service;

import com.genesis.mall.entity.SmsFlashPromotionSession;
import com.baomidou.mybatisplus.extension.service.IService;
import com.genesis.mall.vo.SmsFlashPromotionSessionVo;

import java.util.List;

/**
 * <p>
 * 限时购场次表 服务类
 * </p>
 *
 * @author author
 * @since 2022-08-01
 */
public interface ISmsFlashPromotionSessionService extends IService<SmsFlashPromotionSession> {

    /**
     * 修改状态
     * @param id
     * @param status
     */
    void updateStatus(Integer id, Integer status);

    /**
     * 可选场次和数量
     * @param flashPromotionId
     * @return
     */
    List<SmsFlashPromotionSessionVo> selectList(Integer flashPromotionId);
}
